package xyz.robinbingo.cloud.anime.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Robin
 * @create 2018-01-15 14:35
 * @desc
 **/
@RestController
public class Test {
    @Value("${robin.hello}")
    private String hello;

    @RequestMapping("/hello")
    public String from() {
        return this.hello;
    }

    @GetMapping("/aaa")
    public String aaa() {
        return "aaa";
    }
}
